home *** CD-ROM | disk | FTP | other *** search
- Path: prairienet.org!wemccaug
- From: wemccaug@prairienet.org (Wendy E. McCaughrin)
- Newsgroups: comp.lang.c++
- Subject: scope of operators
- Date: 28 Mar 1996 03:47:06 GMT
- Organization: University of Illinois at Urbana
- Message-ID: <4jd23q$jp4@vixen.cso.uiuc.edu>
- Reply-To: wemccaug@prairienet.org (Wendy E. McCaughrin)
- NNTP-Posting-Host: firefly.prairienet.org
-
-
- It is my understanding that if I declare 'f' to be a
- friend of a base class, it should apply to objects of
- the derived class with impunity. For instance, if 'f'
- is supposed to take one argument that is an object of
- the base class and I pass an object of the derived
- class instead, should I not expect conformity? I am not
- doing anything in the derived class object apart from
- what it has inherited from the base class at all.
-
- Thanks for any input,
-
- wem
-
-
-